Skip to content

Try to fix unhandled node scheme errors#54

Draft
sim642 wants to merge 1 commit into
masterfrom
node-scheme
Draft

Try to fix unhandled node scheme errors#54
sim642 wants to merge 1 commit into
masterfrom
node-scheme

Conversation

@sim642

@sim642 sim642 commented May 19, 2026

Copy link
Copy Markdown
Member

Fixes the following errors which break compilation for some reason:

ERROR in node:child_process
Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
    at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
 @ ./src/App.bc.js 1269:2-31

ERROR in node:constants
Module build failed: UnhandledSchemeError: Reading from "node:constants" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/Hook.js:18:14)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
 @ ./src/App.bc.js 580:2-27

ERROR in node:tty
Module build failed: UnhandledSchemeError: Reading from "node:tty" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
    at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
 @ ./src/App.bc.js 1284:2-21

These are suggestions from Copilot.
I have no clue why these are suddenly necessary.

Fixes the following errors which break compilation for some reason:
ERROR in node:child_process
Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
    at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
 @ ./src/App.bc.js 1269:2-31

ERROR in node:constants
Module build failed: UnhandledSchemeError: Reading from "node:constants" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/Hook.js:18:14)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
 @ ./src/App.bc.js 580:2-27

ERROR in node:tty
Module build failed: UnhandledSchemeError: Reading from "node:tty" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:767:26
    at Hook.eval [as callAsync] (eval at create (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Object.processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:764:9)
    at processResource (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:220:11)
    at iteratePitchingLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:171:10)
    at runLoaders (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/loader-runner/lib/LoaderRunner.js:397:2)
    at NormalModule.doBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:754:3)
    at NormalModule.build (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:908:15)
    at /home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/Compilation.js:1318:12
    at NormalModule.needBuild (/home/simmo/dev/goblint/sv-comp/goblint/_build/default/gobview/node_modules/webpack/lib/NormalModule.js:1177:32)
 @ ./src/App.bc.js 1284:2-21

These are suggestions from Copilot.
I have no clue why these are suddenly necessary.
@sim642 sim642 added the bug Something isn't working label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant